//
//  EventJoinCell.m
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/7/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import "EventJoinCell.h"
#import <QuartzCore/QuartzCore.h>

@implementation EventJoinCell

@synthesize avatarImageView, eventTitleLabel, distanceLabel, borderView;
@synthesize detailLabel, numberOfPeoplesLabel, numberOfPhotosLabel, numberOfLikesLabel;

+ (id)cellFromNib {
    EventJoinCell *cell = nil;
    NSArray *nibs = [[NSBundle mainBundle] loadNibNamed:@"EventJoinCell" owner:self options:nil];
    cell = (EventJoinCell *)[nibs objectAtIndex:0];
    cell.detailLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.numberOfLikesLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.numberOfPeoplesLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.numberOfPhotosLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    cell.distanceLabel.textColor = [UIColor colorWithRed:83/255.0 green:146/255.0 blue:201/255.0 alpha:1.0];
    cell.borderView.backgroundColor = [UIColor colorWithRed:190/255.0 green:191/255.0 blue:193/255.0 alpha:1.0];
    return cell;
}

- (void)dealloc {
    self.avatarImageView = nil;
    self.eventTitleLabel = nil;
    self.detailLabel = nil;
    self.numberOfLikesLabel = nil;
    self.numberOfPeoplesLabel = nil;
    self.numberOfPhotosLabel = nil;
    self.distanceLabel = nil;
    self.borderView = nil;
    [super dealloc];
}

@end
